<template>
    <fieldset>
        <legend>模态框</legend>
        <button @click="popup" >点击弹出模态框</button>
        <models :visible="visible" @on-on="sure" @on-off="cancle"></models>


    </fieldset>

</template>
<script>
import models from './models'
import mix from '../../mixins/mix'
    export default{
        mixins: [mix],
        data () {
            return {
                
            }
        },
        components:{
            models
        },
        methods: {

        }
    }
</script>